﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BMSQ.Admin.Accounts.User
{
    public partial class delete : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    string UserID = Request.Params["id"];

                    Vincent.Permission.Functions.Account.DeleteUser(UserID);
                    Response.Redirect("list.aspx");
                }
            }

        }
    }
}